<?php
include_once "init.php";
include_once "func/print.php";

$sets=new FastDisjointSets(8);
$sets->union(4,5);
$sets->union(6,7);
$sets->union(4,6);
print_list($sets->output());
